package com.hkf.shop.enetity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huangkf
 * @version 1.0
 * @date 2022/12/16:10:25
 * @description 用户实体类
 */




@AllArgsConstructor
@NoArgsConstructor
@Data
public class User implements Serializable {

    private String userId;

    private String  userName;

    private String passWord;

    private String isAdmin;

    private String phone;

    private String address;

    private String mark;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(String isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", isAdmin='" + isAdmin + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", mark='" + mark + '\'' +
                '}';
    }
}
